Skip to content

chore: bump anthropic-sdk-go to include DirectEncoder optimization#24

Merged
johnstcn merged 1 commit intocoder_2_33from
cj/codagt-167
Apr 15, 2026
Merged

chore: bump anthropic-sdk-go to include DirectEncoder optimization#24
johnstcn merged 1 commit intocoder_2_33from
cj/codagt-167

Conversation

@johnstcn
Copy link
Copy Markdown
Member

Bumps coder/anthropic-sdk-go to a31d7d0e7067 which adds the DirectEncoder interface, cutting marshal allocation overhead by ~66% for nested SDK types.

See: coder/anthropic-sdk-go#7

🤖

Updates coder/anthropic-sdk-go to a31d7d0e7067 which adds the
DirectEncoder interface, cutting marshal allocation overhead by ~66%
for nested SDK types.

See: coder/anthropic-sdk-go#7
@johnstcn johnstcn self-assigned this Apr 15, 2026
@johnstcn johnstcn marked this pull request as ready for review April 15, 2026 16:21
Copilot AI review requested due to automatic review settings April 15, 2026 16:21
@johnstcn johnstcn requested a review from kylecarbs April 15, 2026 16:21
@johnstcn johnstcn merged commit 190272c into coder_2_33 Apr 15, 2026
2 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the pinned fork of the Anthropic Go SDK used by this module to pick up upstream performance work (the new DirectEncoder optimization) while keeping existing import paths via replace.

Changes:

  • Bump github.com/coder/anthropic-sdk-go pseudo-version used in the replace directive.
  • Update go.sum checksums to match the new fork revision.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
go.mod Updates the replace github.com/charmbracelet/anthropic-sdk-go => github.com/coder/anthropic-sdk-go target version to the new revision.
go.sum Refreshes checksums for the updated github.com/coder/anthropic-sdk-go pseudo-version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants